<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{zbxxForm.bundleName}"/>
    <head>
        <title>#{text['zbxxDetail.title']}</title>
        <meta name="heading" content="#{text['zbxxDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="zbxxForm">

<h:form id="zbxxForm" onsubmit="return validateZbxxForm(this)">


<h:inputHidden value="#{zbxxForm.zbxx.id}" id="id"/>
<h:inputHidden value="#{zbxxForm.zbxx.version}" id="version"/>

<h:panelGrid columns="6">
   
    <h:outputLabel styleClass="desc" for="username" value="#{text['zbxx.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{zbxxForm.zbxx.username}" required="false" maxlength="50">
    </h:inputText>
    
   
    <h:outputLabel styleClass="desc" for="yzjg" value="#{text['zbxx.yzjg']}"/>
    <t:message for="yzjg" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yzjg" value="#{zbxxForm.zbxx.yzjg}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yzrq" value="#{text['zbxx.yzrq']}"/>
    <t:message for="yzrq" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yzrq" value="#{zbxxForm.zbxx.yzrq}" required="false" maxlength="23">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zbbgcs" value="#{text['zbxx.zbbgcs']}"/>
    <t:message for="zbbgcs" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zbbgcs" value="#{zbxxForm.zbxx.zbbgcs}" required="false" maxlength="255">
    </h:inputText>

</h:panelGrid>
 <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{zbxxForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty zbxxForm.zbxx.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{zbxxForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Zbxx')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
</h:form>

<v:validatorScript functionName="validateZbxxForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('zbxxForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html><!--

 <h:outputLabel styleClass="desc" for="operation" value="#{text['zbxx.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{zbxxForm.zbxx.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['zbxx.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{zbxxForm.zbxx.optdate}" required="false" maxlength="23">
    </h:inputText>
   

 <h:outputLabel styleClass="desc" for="id" value="#{text['zbxx.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{zbxxForm.zbxx.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['zbxx.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>

 <h:selectOneMenu value="#{zbxxForm.zbxx.jbqk}" id="jbqk" required="false" styleClass="select">
        <f:selectItems value="#{zbxxForm.zbxx.jbqk}"/>
    </h:selectOneMenu>
-->